@import url('assets/style/theme.less');
@import url('assets/style/mixin.less');

.invite-friends {
  flex-shrink: 0;
  padding: 24px;
  background: rgba(245, 245, 245, 1);
  display: block;
  overflow-y: auto;

  .rule-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 128px;
    height: 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 1);
    position: absolute;
    top: 24px;
    right: 24px;

    .rule-text {
      font-size: 24px;
      color: #fff;
    }
  }

  .gift-icon {
    height: 32px;
    width: 32px;
  }

  .invite-title {
    padding-left: 16px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .invite-con {
    position: relative;

    .invite-bg {
      border-radius: 6pt;
      width: calc(100vw - 48px);
      height: 240px;
    }
  }

  .invite-top {
    height: 86px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    .gift-icon {
      height: 32px;
      width: 32px;
    }

    .gift-title {
      font-weight: 500;
      font-size: 32px;
      padding-left: 16px;
    }
  }

  .list-con {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;

    .good-item {
      margin-bottom: 20px;
      min-height: 496px;
      width: calc((100% - 22px) / 2);
      background: rgba(255, 255, 255, 1);
      border-radius: 12px;

      .good-con {
        display: flex;
        flex-direction: column;
        // justify-content: space-around;
        min-height: 156px;
        padding: 20px;
      }

      .store-top {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;

        .store-type {
          display: flex;
          flex-direction: row;
          justify-content: center;
          align-items: center;
          width: 56px;
          height: 28px;
          background: linear-gradient(90deg, rgba(255, 136, 0, 1) 0%, rgba(255, 77, 0, 1) 100%);
          border-radius: 4px;

          .store-text {
            color: #fff;
            font-size: 20px;
          }
        }

        .store-name {
          font-size: 24px;
          color: rgba(0, 0, 0, 0.8);
          height: 32px;
          overflow: hidden;
          width: 236px;
          font-weight: 400;
          text-overflow: ellipsis;
          white-space: nowrap;
          padding-left: 8px;
          font-family: PingFangSC-Regular, PingFang SC;
          line-height: 32px;
        }
      }

      .spec-list {
        margin-top: 12px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-self: center;
        height: 20px;

        .spect-text {
          color: rgba(0, 0, 0, 0.4);
          font-size: 40px;
          // padding-left: 5px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          transform-origin: left;
          transform: scale(0.5);
        }
      }

      .good-title {
        font-size: 24px;
      }

      .img-wrap {
        position: relative;
        border-radius: 10px;

        .good-pic {
          width: 100%;
          height: 340px;
          border-top-left-radius: 12px;
          border-top-right-radius: 12px;
        }

        .cover {
          width: 100%;
          height: 340px;
          border-top-left-radius: 12px;
          border-top-right-radius: 12px;
          background: @black-opcity-8;
          position: absolute;
          top: 0;
          left: 0;
          align-items: center;
          justify-content: center;

          .status {
            align-items: center;
            justify-content: center;
            width: 104px;
            height: 104px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.3);
            color: rgba(255, 255, 255, 0.7);

            &-text {
              position: absolute;
              top: 0;
              left: 0;
            }
          }
        }
      }
    }
  }
}

.priceH {
  .price-style {
    margin-top: 16px;
  }
}
